html, body {
    font-family: source-sans-pro, Helvetica, 'Microsoft YaHei', Arial, sans-serif;
    font-weight: 500;
    height: 100%;
    padding: 10px;
}

label {
    padding-top: 3px;
}

legend {
    padding: 4px;
}

h2 {
    margin-top: 25px;
    margin-bottom: 0px;
}

/*一级菜单停留样式*/
.navbar ul li a:hover {
    background-color: #ff8837;
    color: #f2f2f2;
}

.navbar ul li:hover {
    background-color: #ff8837;
    color: #f2f2f2;
}

.navbar ul li:hover > ul {
    display: block;
}

/*一级菜单背景颜色*/
.nav-default {
    position: relative;
    background-color: #3dacdd;
    text-align: left;
    font-family: 'Microsoft YaHei';
    font-size: 18px;
    height: 55px;
}

.dropdown-menu {
    padding: 0;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-btn {
    float: right;
    margin-left: 20px;
    margin-top: 10px;
}

.grid-menu-btn {
    position: relative;
    top:-20px
}

.form-group {
    margin-bottom: 5px;
}

.margin-lr {
    margin-left: 30px;
    margin-right: 30px;
}

.padding-lr {
    padding-left: 15px;
    padding-right: 15px;
}

.submenuClass {
    padding-top: 3px;
    padding-bottom: 3px;
}

.dropdown-submenu {
    position: relative;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 15px;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/*转大写字母*/
.uppercase {
    text-transform: uppercase;
}

/*必填标记*/
[required]:before {
    content: "*";
    color: red;
    position: relative;
    left: -1px;
}

/*错误提示*/
.ee-error {
    color: rgba(252, 0, 0, 0.69);
    font-size: x-small;
}

/*使标签和输入框上下对齐*/
.control-label {
    margin-top: 5px;
}

.group-head {
    position: relative;
    padding: 0;
    border-top: solid 1px #4B93CD;
}

.group-head span {
    position: relative;
    display: inline-block;
    top: -18px;
    background: #fff;
    border: 1px solid #4B93CD;
    height: 35px;
    text-align: center;
    font-size: 20px;
    color: #006BD7;
    border-radius: 5px;
    padding: 5px 20px
}

.group-subtitle-line {
    position: relative;
    margin: 10px 5px;
    border-top: solid 1px #4B93CD;
}

.group-subtitle-line span {
    position: relative;
    display: inline-block;
    top: -10px;
    background: #fff;
    font-size: 14px;
    color: #006BD7;
}

.time-link {
    position: relative;
    top: 50%;
    left: -30%
}

.kick-padding-margin {
    padding: 0;
    margin: 0;
}

.menu-btn {
    cursor: pointer;
    border-color: #ccc;
    border: 1px solid transparent;
    font-size: 16px;
    padding-bottom: 2px;
    background-color: #f2f2f2;
}

/* 登录框样式*/
.login {
    background-color: rgba(255, 251, 251, 0.9);
    width: 450px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    z-index: 1001;
    top: 50%;
    left: 75%;
    margin-left: -225px;
    margin-top: 20%;
}

.login div {
    text-align: center;
    margin-bottom: 10px
}

.login input {
    height: 40px;
    width: 400px;
    border-radius: 4px;
    border: 1px solid #dedede;
    padding: 6px 30px;
    margin: 4px;
}

.login button {
    height: 40px;
    width: 400px;
    margin: 4px;
}

/*登陆框*/
.login-float {
    position: absolute;
    top: 30%;
    color: black;
    width: 100%;
}

.ftbar {
    height: 60px;
    overflow: hidden;
    z-index: 101;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: rgba(85, 142, 213, 0.36);
}

.ftbar a {
    cursor: pointer;
    float: right;
    color: #595959;
    font-size: 18px;
    margin-right: 25px;
    margin-top: 20px;
}

.ftbar a:hover {
    color: white;
}

.indexFooter {
    height: 30px;
    overflow: hidden;
    z-index: 101;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
}

.footer {
    text-align: center;
    background-color: #525252;
    color: #F2F2F2;
    clear: both;
    height: 50px;
    padding: 5px 5px;
    bottom: 0;
    margin-top: 15px;
}

.footer a {
    color: #f2f2f2
}

.ui-grid-cell-contents > input {
    text-align: center;
    border: 0px solid transparent !important;
    background-color: transparent !important;
}

.ui-select-container, .ui-select-match-item, .ui-select-toggle, select, input {
    background-color: transparent !important;
}

.container {
    word-wrap: break-word;
    height: auto;
}

label:not([required]) {
    position: relative;
    left: 6px;
}

.toast-success {
    background-color: #f3faef !important;
}

.toast-warning {
    background-color: #fdf8ed !important;
}

.toast-error {
    background-color: #fcf4f2 !important;
}

.toast-success > div {
    color: #275413;
    font-weight: bold;
}

.toast-warning > div {
    color: #653c00;
    font-weight: bold;
}

.toast-error > div {
    color: #680000;
    font-weight: bold;
}

.toast > div {
    text-align: center;
}

.toast-close-button{
    color: #000000!important;
    margin-right: -5px !important;
    margin-top: -15px !important;
}

#toast-container > .toast-success {
    background-image: url(../img/success.png) !important;
    border: 1px solid #5AC22D;
    border-left: 10px solid #5AC22D;
}

#toast-container > .toast-warning {
    background-image: url(../img/warning.png) !important;
    border: 1px solid #FFA209;
    border-left: 10px solid #FFA209;
}

#toast-container > .toast-error {
    background-image: url('../img/error.png') !important;
    border: 1px solid #E52C00;
    border-left: 10px solid #E52C00;
}

.nav-container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    min-height: 100%
}

@media (min-width: 768px) {
    .nav-container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .nav-container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .nav-container {
        width: 1170px;
    }
}

.ui-select-bootstrap .ui-select-choices-row.active > a {
    background-color: #1E90FF !important;
}

.ui-select-container ul {
    border-radius: 0px;
    border: 1px solid #7F9DB9;
}

/*表格中的ui-select，高度设置为行高30，以防止出现重叠*/
body > .ui-select-container > .form-control, .ui-grid .form-control {
    height: 30px;
}

/*防止ui-select的空选项高度变很矮*/
.ui-select-choices-row-inner {
    height: 26px;
}

.toast-close-button {
    color: #000000 !important;
    margin-right: -5px !important;
    margin-top: -15px !important;
}

.pagination > li > a:hover {
    border-color: #337AB7 !important;
}

.ui-select-choices-row-inner {
    padding: 0px 20px !important;
    height: 20px !important;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: 0 !important;
}

.noTransition {
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

/* select ul style */
.easy-select-container {
    position: relative;
    overflow: visible;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

/* pre-option tick symbol */
.my-li-option {
    color: #888;
    margin-left: 10px;
    float: left;
    position: relative;
    top: 3px;
}

/* options style */
.list-group-item {
    text-align: center;
    padding: 7px 5px;
    z-index: 1000;
    border: 1px solid #bbb;
}

/* option tags style */
.p-option-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px;
    border: 1px solid #bbb;
    margin-right: 5px;
    border-radius: 6px;
    position: relative;
    top:-2px;
}

.p-option-tag:hover {
    background-color:#ddd
}

.extra-row {
    float:right;
    font-size : 18px;
    margin-top: 5px;
    margin-right: 10px;
    opacity: 0.7;
    color:rgba(50,150,230,0.8);
}

.glyphicon-remove:hover {
    background-color: rgb(244,244,244);
}